        	<fieldset>
	<legend>Registrácia</legend>
  
  <?php
    echo form_open('main/signup_validation');
    
    echo validation_errors();
    
    echo "<p><label>Meno: </label>";
    echo form_input('meno', $this->input->post('meno'));
    echo "</p>";
    
    echo "<p><label>Priezvisko: </label>";
    echo form_input('priezvisko', $this->input->post('priezvisko'));
    echo "</p>";
    
    echo "<p><label>Email: </label>";
    echo form_input('email', $this->input->post('email'));
    echo "</p>";
    
    echo "<p><label>Tel.cislo: </label>";
    echo form_input('telefon', $this->input->post('telefon'));
    echo "</p>";
    
    echo "<p><label>Skola: </label>";
    echo form_input('skola', $this->input->post('skola'));
    echo "</p>";
    
    echo "<p><label>Heslo: </label>";
    echo form_password('password');
    echo "</p>";
    
    echo "<p><label>Potvrďte heslo: </label>";
    echo form_password('cpassword');
    echo "</p>";
    
    echo "<p><label></label>";
    echo form_submit('signup_submit', 'Registruj');
    echo "</p>";
    
    echo form_close();
  ?>
  </fieldset>

